package com.suse.jd_system_server.service.impl;
import com.suse.jd_system_server.dao.CommentsDao_lhj;
import com.suse.jd_system_server.entity.Comments;
import com.suse.jd_system_server.entity.Comments_lhj;
import com.suse.jd_system_server.service.CommentsService_lhj;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CommentsServiceImpl_lhj implements CommentsService_lhj {
    @Resource
    private CommentsDao_lhj commentsdao;
    /**
     根据Com_id查询
     */
    public List<Comments_lhj> connect(Long hotelId){
        return commentsdao.connect(hotelId);
    }
}
